package com.ease.model.criteria;

import java.io.Serializable;

/**
 * 
 * @author nathanleewei
 * 
 */
public class CriteriaParameterItem implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -576455490678581146L;

	private String attribute;

	private CriteriaType criteriaType;

	private Object value;

	public String toString() {
		return "attribute:" + attribute + ", criteriaType:" + criteriaType.getName() + ", value:" + value;
	}

	/**
	 * @return the attribute
	 */
	public String getAttribute() {
		return attribute;
	}

	/**
	 * @param attribute
	 *            the attribute to set
	 */
	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}

	/**
	 * @return the criteriaType
	 */
	public CriteriaType getCriteriaType() {
		return criteriaType;
	}

	/**
	 * @param criteriaType
	 *            the criteriaType to set
	 */
	public void setCriteriaType(CriteriaType criteriaType) {
		this.criteriaType = criteriaType;
	}

	/**
	 * @return the value
	 */
	public Object getValue() {
		return value;
	}

	/**
	 * @param value
	 *            the value to set
	 */
	public void setValue(Object value) {
		this.value = value;
	}
}
